package com.xl.observer.common;

/**
 * 1、具体的目标对象，把有关的状态存入到观察者对象中
 */
public class CommonConcreateSubject extends Subject {

    private String subjectStatus;

    public String getSubjectStatus() {
        return subjectStatus;
    }

    public void setSubjectStatus(String subjectStatus) {
        this.subjectStatus = subjectStatus;
        this.notifyObserver();
    }
}
